package net.csdra.basis.service;

import net.csdra.basis.domain.UserBaseInterface;
import org.springframework.security.access.AccessDeniedException;


/**
 * Created by msf on 2017/10/11.
 */
public interface CurrentUserInfo<T extends UserBaseInterface> {

    public T set(T t);

    public T get() throws AccessDeniedException;


}
